package com.sxhuayuan.parking.controller.member;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.sxhuayuan.parking.compenent.Pageable;
import com.sxhuayuan.parking.compenent.web.RespMessage;
import com.sxhuayuan.parking.service.MonthCardOrderService;

/** 月卡订单列表 */
@RestController("memberMonthCardOrderController")
@RequestMapping("/member/monthcardorder")
public class MonthCardOrderController extends BaseController {

	@Resource(name = "monthCardOrderServiceImpl")
	MonthCardOrderService monthCardOrderService;

	@RequestMapping("/list")
	public RespMessage onQueryMonthCard(@RequestBody Pageable pageable) {
		return RespMessage.builder().success().setDatas(monthCardOrderService.findPage(pageable)).build();

	}
}
